import request from '@/utils/request'
// import { getToken } from '@/utils/storage'

export const getArticles = params => {
  return request.get('/interview/query',
    { params }
  )
}
export const getCollect = params => request.get('/interview/opt/list', { params })
export const getLike = params => request.get('/interview/opt/list', { params })
export const getDetail = id => request.get('/interview/show', { params: { id } })
export const updateFlag = data => request.post('/interview/opt', data)
